7179b7ccb6a5e5f0d969477469780f032e3f47da,src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java,SoapSampler,sample,#URL#String#boolean#number#,212
Before Change
client = setupConnection(url, httpMethod, res);
res.setQueryString(getQueryString());
sendPostData(httpMethod,content_len);
int statusCode = client.executeMethod(httpMethod);
After Change
log.debug("Start : sample " + urlStr);
PostMethod httpMethod;
httpMethod = new PostMethod(urlStr);
HTTPSampleResult res = new HTTPSampleResult();
res.setMonitor(false);
res.setSampleLabel(urlStr); // May be replaced later
res.setHTTPMethod(HTTPConstants.POST);
res.sampleStart(); // Count the retries as well in the time
HttpClient client = null;
InputStream instream = null;
try {
int content_len = setPostHeaders(httpMethod);
client = setupConnection(url, httpMethod, res);
res.setQueryString(sendPostData(httpMethod,content_len));
res.setRequestHeaders(getConnectionHeaders(httpMethod));
int statusCode = client.executeMethod(httpMethod);